const app = getApp()
var module=require("../../../utils/shanghai/qitaliebiao.js");
Page({
  data: {
  	language:'',
    content:null,
  },
  onLoad: function() {
    var lang=app.globalData.lang;
    if (lang != "zh") {
      wx.setNavigationBarTitle({
        title: 'Other List'
      })
    }
    this.setData({
      language:lang,
      content:module[lang].content,
    });
  },
  navigate(e){
    wx.navigateTo({
      url:'/pages/shanghai/qita/index?businessScope='+e.currentTarget.dataset.businessscope+'&index='+e.currentTarget.dataset.index+'&title='+e.currentTarget.dataset.title,
    });
  },
  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
    var that = this;
    return {
      title: app.globalData.shareTitle,
      path: app.globalData.sharePath,
      imageUrl: '../../../images/share_img.png',
      success: function (res) {
        // 转发成功
      },
      fail: function (res) {
        // 转发失败
      }
    }
  },
})